#include "player.h"


Player::Player(void)
{
  /* Seft add to manager */

  ObjectsManager::getInstance()->Add(this);
  RenderableManager::getInstance()->Add(this);
  ControllableManager::getInstance()->Add(this);
  CollisionableManager::getInstance()->Add(this);

}


Player::~Player(void)
{
  /* Seft remove from manager */

  ObjectsManager::getInstance()->Delete(this);
  RenderableManager::getInstance()->Delete(this);
  ControllableManager::getInstance()->Delete(this);
  CollisionableManager::getInstance()->Delete(this);
}


void Player::Init() {

}


void Player::Release() {
  // Release sound
}


CString* Player::ToArray() {
  return NULL;
}


void Player::FromArray(CString*) {

}


void Player::Render() {
  switch(this->personal) {
  case SMALL:
    {
      break;
    }
  case BIG:
    {
      break;
    }
  case FLOWER:
    {
      break;
    }
  }
}


void Player::DoControl(bool key_down, int key_code) {

}


void Player::DoControlThread() {

}


void Player::DoCollision(CollisionableObject* collisionedObject) {

}


void Player::DoCollisionThread() {

}


void Player::MoveLeft() {

}


void Player::MoveRight() {

}


void Player::MoveUp() {

}


void Player::MoveDown() {

}


void Player::Fire() {

}


void Player::Jump() {

}
